#!/bin/bash

oldstr=multi_role_cc2640r2lp_0.0.5
newstr=multi_role_cc2640r2lp_0.0.6

path=../*_library/FlashROM_Library/
sed -i "s/$oldstr/$newstr/g" `grep $oldstr -rl $path`

path=../*_app/FlashROM_StackLibrary/
sed -i "s/$oldstr/$newstr/g" `grep $oldstr -rl $path`
